package cn.hanna.springcloud.config;

import feign.Logger;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * @author smileha
 * @create 2021-10-17 18:28
 * @description
 */
@Configuration
public class FeignConfig {

    // 设置openfeign的日志水平
    @Bean
    public Logger.Level log(){
        return Logger.Level.FULL;
    }
}
